package com.pan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.sql.Timestamp;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class CouponCreateVo {
    String img;
    String name;
    Integer userLimit;
    Long growthLimit;
    Integer scorePrice;
    Double amount;
    Integer publishCount;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    Timestamp startDate;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    Timestamp endDate;
    String note;
    List<RelationCategoryVo> categoryList;
    List<RelationGoodsVo> goodsList;
}
